package com.hospital.dto;

import io.swagger.annotations.ApiModel;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
@ApiModel(description = "分页查询患者信息")
public class PatientPageQueryDTO {
    private String name;

    @NotNull(message = "页码不能为空")
    private Integer pageNumber;

    @NotNull(message = "每页记录数不能为空")
    private Integer pageSize;
}
